package com.example.yunJie.digitalSentry.service;


import com.example.yunJie.digitalSentry.entity.PostEntity;

import java.io.Serializable;
import java.util.List;


public interface PostService {
    int insert(PostEntity postEntity);


    int update(PostEntity postEntity);


    int deleteById(Serializable id);


    int deleteIdList(List<Integer> idList);


    PostEntity findId(String id);


    List<PostEntity> findAll();

    //根据市场名称查找岗位名称列表
    List<PostEntity> findByMarketName(String s);

    //根据岗位名称查找岗位id
    PostEntity findIdByPostName(String postName);
}
